#ifndef WIN32TIMER_H
#define WIN32TIMER_H

#include "Framework/ITimer.h"

#include <time.h>
#include "windows.h"

namespace tyro
{
	namespace Framework
	{

		class Win32Timer : public ITimer
		{
		public:

			Win32Timer();
			~Win32Timer();

			void Reset();

			ULONG_32 GetMilliseconds();

			ULONG_32 GetMicroseconds();

			ULONG_32 GetMillisecondsCPU();

			ULONG_32 GetMicrosecondsCPU();

		private:

			clock_t cpuClock;

			LARGE_INTEGER cpuFrequency;
			LARGE_INTEGER startTime;

		protected:
		private:
		};
	}
}



#endif 